package com.haibei.adapter;

import android.content.Context;

import com.haibei.adapter.bean.City;
import com.haibei.view.wheel.ArrayWheelAdapter;

public class WheelCityAdapter extends ArrayWheelAdapter {

	private City[] citys;
	public WheelCityAdapter(Context context, Object[] items) {
		super(context, items);
		this.citys=(City[]) items;
	}

	@Override
	public CharSequence getItemText(int index) {
		return citys[index].getName();
	}

}
